package com.jastar.android.game.cannon;

import android.os.Bundle;
import androidx.appcompat.app.AppCompatActivity;
import com.jastar.android.game.cannon.view.CannonGameView;

public class CannonGameActivity extends AppCompatActivity {
    private CannonGameView gameView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        gameView = new CannonGameView(this);
        setContentView(gameView);
    }

    @Override
    protected void onPause() {
        super.onPause();
        gameView.pause();
    }

    @Override
    protected void onResume() {
        super.onResume();
        gameView.resume();
    }

}